<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link href="${pageContext.request.contextPath}/image/logo.png" rel="Shortcut Icon">
    <title>易方达基金,易方达基金管理有限公司-基金公司-金牛基金网</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="https://static.howbuy.com/??/css/www/index_2014/autosearch.css,/css/www/index_202003/fundHead.css,/css/www/index_201801/reset.css,/css/global/nfooter.css?v=18db976"/>
    <script type="text/javascript" src="https://static.howbuy.com/??/js/jquery/jquery.min.1.7.js,/js/global/u-tab_1.1.js,/js/global/input_effect/1.0/jq_input_effect.js,/js/initHost.js,/js/howbuy/utils/common.class.js,/js/howbuy/utils/common.util.js,/js/www/index_2018/header201712_1.0.js,/js/howbuy/utils/autocomplete-3.0.js?v=f56f0ed"></script>
    <script type="text/javascript">
        $(document).ready(function() {

            $("#searchDiv").searchData({
                searchDiv:$("#searchData"),
                btnClickSequel:'openPages',
                sea_text: 'sea_text',
                searchBtn: 'searchBtn',
                fqValue: '100,300,500,800'
            });

        });
    </script>
    <style type="text/css">
        #logn2{
            margin : -20px 0px 0px 0px;
        //上、右、下、左外边距
        }
        #tools-bar22{
            background:rgb(177,140,0) ;
        }
    </style>
    <base target="_blank" />


    <meta name="keywords" content="易方达基金，易方达基金管理有限公司，易方达基金介绍，易方达基金旗下基金业绩，易方达基金明星基金，易方达基金旗下经理业绩，易方达基金投资板块，易方达基金投资主题" />
    <meta name="description" content="金牛基金网提供最详细的易方达基金管理有限公司公司介绍，易方达基金团队介绍，易方达基金旗下基金业绩，易方达基金旗下经理业绩，易方达基金联系方式，易方达基金相关资讯，易方达基金研究报告" />

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <link rel="stylesheet" type="text/css" href="https://static.howbuy.com/??/css/gmfund_new/company/1.0/style.css,/css/global/side-layer-box/1.0/side-layer-box.css,/css/global/zixuan_fund/1.0/zixuan_fund.css?v=18c4dc5"/>
    <script type="text/javascript" src="https://static.howbuy.com/??/js/highcharts/highstock-1.3.9.js,/js/howbuy/utils/cookie.js?v=18c4dc5"></script>
    <script type="text/javascript" src="https://static.howbuy.com/??/js/gmfund_new/company/1.0/main.js?v=18c4dc5"></script>
    <script type="text/javascript" src="https://static.howbuy.com/??/js/gmfund_new/company/1.0/chart-company.js,/js/gmfund_new/company/1.0/charts-colors.js?v=18c4dc5"></script>


</head>
<body>
<input style="display: none;" id="getcAccount" type="text" value="${requestScope.myPurseData.cAccount}"/>
<!--topTools begin-->
<div class="topToolBox">
    <div class="topToolsWrap">
        <div class="topTools">
            <div class="topTools_con w1000 clearfix">
                <ul class="itemLt fl menu">
                    <li class="bdStyle"></li>
                    <li class="first"><a href="/Anonymous/homePageWeb" class="bdlNone">首页</a></li>

                    <li><a href="">公募基金</a></li>
                    <li><a href="">私募基金</a></li>
                    <li><a href="">私募股权</a></li>
                    <li><a href="">固定收益</a></li>
                    <li><a href="">新方程FOF</a></li>
                    <li><a href="">直投海外<i class="recommend"></i></a></li>
                </ul>
                <div class="itemRt fr">
                    <div class="moreBox fr">
                        <a href="" target="_self" class="more"></a>
                        <div class="moreCon">
                            <div class="conBox">
                                <a href="">免费咨询</a>
                                <a href="">开户演示</a>
                                <a href="">常见问题</a>
                                <a href="">联系我们</a>
                                <a href="">关于金牛</a>
                                <a href="">投诉建议</a>
                            </div>
                        </div>
                    </div>
                    <ul class="fr">
                        <li class="">
                            <a href="" id="client" class="pl10 mlink myhowbuy">登录</a>
                            <!-- 未登录状态 end -->
                            <!-- 已登录状态 start -->
                            <div class="loggedcls_m itemBox">
                                <div class="memberBox">
                                    <div class="member">
                                        <div class="fl memberLt">
                                            <p class="user_prompt"></p>
                                        </div>
                                        <div class="memberRt">
                                            <a href="">会员中心&nbsp;&nbsp;</a> |
                                            <a href="" target="_self" rel="nofollow">&nbsp;&nbsp;退出</a>
                                        </div>
                                    </div>
                                    <div class="centerMemberBox hide">
                                        <p>当前收益（元）<b class="red fundInc">0</b></p>
                                        <p>总资产（元）<span class="currentCost">0</span></p>
                                        <p>我的持仓 <span class="positionNum">0</span></p>
                                    </div>
                                    <div class="btMemberBox clearfix hide">
                                        <a href="" class="fl bdright">买公募</a>
                                        <a href="" class="fr">买私募</a>
                                    </div>
                                    <!--未进行实名认证-->
                                    <div class="unCertifyBox">
                                        <p class="tac">您当前还未进行实名认证</p>
                                        <a href="">传送门</a>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li id="register" class="register"><a href="" class="mlink register">注册</a></li>
                        <li>
                            <a href="" target="_self" class="aw mlink"><span>交易</span></a>
                            <div class="itemBox">
                                <div class="tradeBox clearfix">
                                    <dl class="fl">
                                        <dt><a href="" target="_self" style="text-decoration: none;">公募交易</a></dt>
                                        <dd><a href="">我的资产</a></dd>
                                        <dd><a href="">储蓄罐</a></dd>
                                        <dd><a href="">基金交易</a></dd>
                                        <dd><a href="">基金定投</a></dd>
                                        <dd><a href="">交易查询</a></dd>
                                        <dd><a href="">账户管理</a></dd>
                                    </dl>
                                    <dl class="fl bdrNone">
                                        <dt><a href="" target="_self" style="text-decoration: none;">私募交易</a></dt>
                                        <dd><a href="">我的私募</a></dd>
                                        <dd><a href="">我的预约</a></dd>
                                        <dd><a href="">在线交易</a></dd>
                                        <dd><a href="">交易记录</a></dd>
                                        <dd><a href="">账户管理</a></dd>
                                    </dl>
                                </div>
                            </div>
                        </li>
                        <li class="dl_zx">
                            <a href="" target="_self" class="aw mlink"><span>自选</span></a>
                            <div class="itemBox">
                                <div class="zxBox">
                                    <div class="clearfix">
                                        <div class="fl zdhq">
                                            <span>今日</span>
                                            <span class="cRed">上涨（<span class="dl_zx_sz"></span>）</span>
                                            <span class="cGreen">下跌（<span class="dl_zx_xd"></span>）</span>
                                        </div>
                                        <div class="fr chose">
                                            <p><span class="bdrNone act">基金</span><span class="bdlNone">私募</span></p>
                                        </div>
                                    </div>
                                    <div class="selAllBox">
                                        <table class="fundItem">
                                            <tr>
                                                <th class="tal" width="140">简称</th>
                                                <th width="60">净值/万份</th>
                                                <th width="80">涨跌/七日</th>
                                                <th width="60">操作</th>
                                            </tr>
                                        </table>
                                        <table class="simuItem hide">
                                            <tr>
                                                <th class="tal" width="140">简称</th>
                                                <th width="60">最新净值</th>
                                                <th width="80">近一年收益</th>
                                                <th width="60">操作</th>
                                            </tr>
                                        </table>
                                    </div>
                                    <a href="" target="_self" class="showAllBtn tal">查看全部自选（<span class="dl_zx_qb"></span>）</a>
                                </div>
                            </div>
                        </li>
                        <li class="dl_ll">
                            <a href="" target="_self" class="aw mlink"><span>浏览</span></a>
                            <div class="itemBox">
                                <!--noviewRecord-->
                                <div class="noviewRecord">
                                    <div class="norecord">您还没有浏览记录</div>
                                    <div class="btMemberBox clearfix">
                                        <a href="" class="fl bdright">逛逛公募</a>
                                        <a href="" class="fr">逛逛私募</a>
                                    </div>
                                </div>
                                <!--viewRecord-->
                                <div class="seeBox hide">
                                    <div class="con">
                                        <div class="lfIntro"></div>
                                    </div>

                                </div>
                            </div>
                        </li>
                        <li>
                            <a href="" target="_self" class="aw mlink "><span>工具</span></a>
                            <div class="itemBox">
                                <div class="toolBox clearfix">
                                    <dl class="fl">
                                        <dt><a href="" target="_self" style="text-decoration: none;">公募工具</a></dt>
                                        <dd><a href="">基金筛选</a></dd>
                                        <dd><a href="">基金对比</a></dd>
                                        <dd><a href="">基金诊断</a></dd>
                                        <dd><a href="">基金账本</a></dd>
                                        <dd><a href="">基金自选</a></dd>
                                        <dd><a href="">收益计算</a></dd>
                                        <dd><a href="">计算器</a></dd>
                                    </dl>
                                    <dl class="fl bdrNone">
                                        <dt><a href="" target="_self" style="text-decoration: none;">私募工具</a></dt>
                                        <dd><a href="">私募筛选</a></dd>
                                        <dd><a href="">私募对比</a></dd>
                                        <dd><a href="">私募自选</a></dd>
                                        <dd><a href="">投教基地</a></dd>
                                    </dl>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <!--header Begin-->
    <div class="header clearfix w1000">
        <div class="logo fl">
            <a href="/Anonymous/homePageWeb" target="_self"><img src="${pageContext.request.contextPath}/image/logo.png" alt=""  width="100px" height="80px" id="logn2"></a>
        </div>
        <div class="hd_mini_ad fl">
            <a href="">
                <img src="https://static.howbuy.com/images/www/201801/gmPic.png" alt="" />
            </a>
        </div>
        <!--
            搜索框||广告位，可能存在其中一个
        -->
        <!--搜索框-->
        <div class="searchBox fl w380" id="searchDiv">
            <input id="sea_text" type="text" placeholder="请输入关键词（基金、经理、简称和资讯）">
            <a href="" target="_self" id="searchBtn" class="searchBtn"></a>
            <div id="searchData" class="autoSearchBox"></div>
        </div>
        <ul class="appList fr">
            <li class="fundApp">
                <a href="" target="_self"><i></i><span>金牛基金</span></a>
                <div class="ewmBox">
                    <p>扫描二维码下载金牛基金</p>
                    <img src="https://static.howbuy.com/images/www/201801/ewmzj.png" alt="">
                </div>
            </li>
            <li class="cxgApp">
                <a href="" target="_self"><i></i><span>储蓄罐</span></a>
                <div class="ewmBox">
                    <p>扫描二维码下载储蓄罐</p>
                    <img src="https://static.howbuy.com/images/www/201801/ewmcxg.png" alt="">
                </div>
            </li>
            <li class="zcVip">
                <a href="" target="_self"><i></i><span>臻财VIP</span></a>
                <div class="ewmBox">
                    <p>扫描二维码下载金牛臻财</p>
                    <img src="https://static.howbuy.com/images/www/201801/ewmzc.png" alt="">
                </div>
            </li>
            <li class="ltProgram">
                <a href="https://zt.howbuy.com/subject/xcxpage1802/" target="_self"><i></i><span>小程序</span></a>
                <div class="ewmBox">
                    <img src="https://static.howbuy.com/images/www/201801/ewmxcx.png" alt="" class="xcx">
                </div>
            </li>
        </ul>
    </div>
    <div class="navTopBox w1000 headForGmYb menu_box">
        <dl class="clearfix">
            <dd>
                <a href="">基金首页</a>
                <a href="">基金超市</a>
                <a href="">定投专区</a>
                <a href="">组合专区</a>
                <a href="">基金经理</a>
                <a href="">基金公司</a>
                <a href="">基金净值</a>
                <a href="">净值估算</a>
                <a href="">基金排名</a>
                <a href="">金牛推荐</a>
                <a href="">新基发行</a>
                <a href="">公募研报</a>
            </dd>
        </dl>
    </div>

</div>

<script>
    $('.searchBtn').unbind('click').click(function(){
        window.open('https://www.howbuy.com/search/quicksearch.htm?skey=' + encodeURI($(this).siblings('input').val()) + '&searchType=1');
    })
    // 搜索框点击回车的时候跳转到搜索结果页
    $("#sea_text").keydown(function(e){
        if(e.keyCode == 13){
            window.open('https://www.howbuy.com/search/quicksearch.htm?skey=' + encodeURI($(this).val()) + '&searchType=1');
        }
    });
</script>
<!-- sub menu end-->


<!-- page head begin -->
<script type="text/javascript">
    function dataEmpty(data){
        if(data==null || data==undefined){
            return "--";
        }
        return data;
    }
    //自选临时Map
    var selectedMap = {};
    //加载持仓数据
    function loadShareData(){
        if(typeof(cache_wzfl)!="undefined"){
            var load_share_number=3;
            //按需加载
            if(cache_wzfl=="1" || cache_wzfl=="8" || cache_wzfl=="3"){
                if((industry_quarter==null || industry_quarter==undefined) || industry_quarter.length<=0){
                    $("#industryTotal").html("");
                    load_share_number--;
                }else{
                    //持股分布  股票型、指数型、混合型
                    for(var i=0; i<industry_quarter.length;i++){
                        var fdate = formatterDateStr(industry_quarter[i]);
                        $("#industry_quarter_select").append("<option value='"+fdate+"'>"+industry_quarter[i]+"</option>");
                    }
                    shareCrtDOM("share_",industry_data.share_1,industry_sub_data,"#industry_quarter_select","#industryTotal","#industry_content","#industry_quarter_data",1);
                }

                if((medium_small_data_quarter==null || medium_small_data_quarter==undefined) || medium_small_data_quarter.length<=0){
                    $("#medium_smallTotal").html("");
                    load_share_number--;
                }else{
                    for(var i=0; i<medium_small_data_quarter.length;i++){
                        var fdate = formatterDateStr(medium_small_data_quarter[i]);
                        $("#medium_small_quarter_select").append("<option value='"+fdate+"'>"+medium_small_data_quarter[i]+"</option>");
                    }
                    shareCrtDOM("share_",medium_small_data.share_3,medium_small_sub_data,"#medium_small_quarter_select","#medium_smallTotal","#medium_small_content","#medium_small_quarter_data",3);
                }

                if((theme_data_quarter==null || theme_data_quarter==undefined) || theme_data_quarter.length<=0){
                    $("#themeTotal").html("");
                    load_share_number--;
                }else{
                    for(var i=0; i<theme_data_quarter.length;i++){
                        var fdate = formatterDateStr(theme_data_quarter[i]);
                        $("#theme_quarter_select").append("<option value='"+fdate+"'>"+theme_data_quarter[i]+"</option>");
                    }
                    shareCrtDOM("share_",theme_data.share_2,theme_sub_data,"#theme_quarter_select","#themeTotal","#theme_content","#theme_quarter_data",2);
                }
            }
            //load_share_number = 0   将整个持股分布设置为暂无数据
            if(load_share_number==0){
                no_data("nTab11_1","100px");
            }

            if(cache_wzfl && cache_wzfl == "9"){
                if((qdii_quarter==null || qdii_quarter==undefined) || qdii_quarter.length<=0){
                    no_data("nTab11_1","100px");
                    $("#qdiiTotal").html("");
                }else{
                    //投资地区分布  QDII类型
                    for(var i=0; i<qdii_quarter.length;i++){
                        var fdate = formatterDateStr(qdii_quarter[i]);
                        $("#qdii_quarter_select").append("<option value='"+fdate+"'>"+qdii_quarter[i]+"</option>");
                    }
                    shareCrtDOM("qdii_",qdii_data,qdii_sub_data,"#qdii_quarter_select","#qdiiTotal","#qdii_content","#qdii_quarter_data",-1);
                }
            }

            if(cache_wzfl && (cache_wzfl=="3" || cache_wzfl=="5" || cache_wzfl=="b" || cache_wzfl=="53" || cache_wzfl=="7")){
                if((debt_holders_quarter==null || debt_holders_quarter==undefined) || debt_holders_quarter.length<=0){
                    no_data("debtHoldersBody_Div","100px");
                    $("#debtHoldersTotal").html("");
                }else{
                    //持债分布 混合、债券、保本、理财、货币类型
                    for(var i=0; i<debt_holders_quarter.length;i++){
                        var fdate = formatterDateStr(debt_holders_quarter[i]);
                        $("#debt_holders_quarter_select").append("<option value='"+fdate+"'>"+debt_holders_quarter[i]+"</option>");
                    }
                    shareCrtDOM("debtholders_",debt_holders_data,debt_holders_sub_data,"#debt_holders_quarter_select","#debtHoldersTotal","#debt_holders_content","#debt_holders_quarter_data",-2);
                }
            }
        }
    }

    var contentTemplate="<div id='sharehold{divIndex}_{index}' style='{styleName}' class='shareholda sharehold{shareId}'><div class='table_top'><span class='table_top_s'>{ccflzxmc}</span><span class='table_top_t'>{cggmdesc}</span></div><div class='table_head'><table><tr class='t_bg'><td class='tdc w1 bold_c666'>基金简称</td><td class='tdc w2 bold_c666'>基金经理</td><td class='tdc w3 bold_c666'>近1年收益</td><td class='tdc w4 bold_c666'>持有比例 <span class='tips_help'><img src='https://static.howbuy.com/images/gmfund_new/company/1.0/tips_icon.png' alt='' /></span><div class='tips_c'><span class='tips_c_m'> <span class='tips-m-b-c'>{tipsDesc}</span><em></em></span></div></td><td class='tdc w5 bold_c666'><span class='pright10'>操作</span></td></tr></table></div><div class='table_content'><table></table></div>{moreTheme}</div>";
    /**
     * 为行业类创建持股类型DOM
     * prefix 前缀 share_ & qdii_
     * data : 行业下主数据，例  data.share_1
     * subData : 行业下基金列表数据
     * selId 下拉列表ID
     * totalId 计算总持股数据ID
     * contentId 加载一个季度数据DIV ID
     * quarterId 加载所有季度数据DIV ID
     * ccflId 分类ID
     */
    function shareCrtDOM(prefix,data,fundData,selId,totalId,contentId,quarterId,ccflId){
        var hisDate = $(selId+" option:selected").val();
        var subData = data[prefix+hisDate];
        var divTypeId = $(quarterId).attr("data-value");
        var DOMVal = "";

        if(subData && subData.length){
            $(contentId).html("");
            $(contentId+" .table_content").find("table").html("");

            var moreThemeDiv = "";
            for(var i=0; i<subData.length; i++){
                var className="";
                var subStyleName="display:none;";
                if(i==0){
                    //设置总规模 多类型
                    className="on";
                    subStyleName="";
                    if(ccflId==2){
                        moreThemeDiv="<div class='helps c666'>寻找更多该主题基金? <a href='/fund/fundtool/filter.htm' target='_blank'>点击这里</a></div>";
                        var theme_quarter_num=get_quarter(hisDate);
                        if(theme_quarter_num==2 || theme_quarter_num==4){
                            $(totalId+" .secondary_t").html("持股总规模："+subData[i].gpccsz+"亿元");
                        }else{
                            $(totalId+" .secondary_t").html("持股总规模："+subData[i].gpccsz+"亿元  <span class=‘c666’>(十大重仓股)</span>");
                        }
                    }else if(ccflId==3){
                        var ms_quarter_num=get_quarter(hisDate);
                        if(ms_quarter_num==2 || ms_quarter_num==4){
                            $(totalId+" .secondary_t").html("持股总规模："+subData[i].gpccsz+"亿元");
                        }else{
                            $(totalId+" .secondary_t").html("持股总规模："+subData[i].gpccsz+"亿元  <span class=‘c666’>(十大重仓股)</span>");
                        }
                    }else if(ccflId==-1){
                        $(totalId+" .secondary_t").html("QDII基金总规模："+subData[i].qdjjzcjz+"亿元");
                    }else if(ccflId==-2){
                        //表设计不同  只能取 1099 合计
                        $(totalId+" .secondary_t").html("持债总规模："+subData[i].ccsz+"亿元");
                        continue;
                    }else{
                        $(totalId+" .secondary_t").html("持股总规模："+subData[i].gpccsz+"亿元");
                    }
                }
                //持股规模占比为0 禁用样式设置
                if((subData[i].zgpccbl && subData[i].zgpccbl<=0) || (subData[i].jjzcjzzb && subData[i].jjzcjzzb<=0) || (subData[i].ccszzb && subData[i].ccszzb<=0)){
                    className+=" a_disable";
                }

                var fundList=null;
                var contentList = contentTemplate;
                if(ccflId==-1){
                    DOMVal+="<li class='"+className+"'><a href='javascript:void(0)' target='_self' class='clearfix'><span class='trade_text'>"+subData[i].tzqymc+"</span><span class='trade_rate'>"+subData[i].jjzcjzzb.toFixed(2)+"%</span><span class='trade_right'></span></a></li>";
                    fundList = (fundData[prefix+ccflId+"_"+hisDate])?fundData[prefix+ccflId+"_"+hisDate][subData[i].tzqy]:null;

                    contentList=contentList.replace("{tipsDesc}","单只基金的规模占公司投资该地区的基金总规模的比例");
                    contentList=contentList.replace("{ccflzxmc}",subData[i].tzqymc);
                    contentList=contentList.replace("{cggmdesc}","规模："+subData[i].jjzcjz+"亿元，"+(!fundList?0:fundList.length)+"只基金持有");
                    contentList=contentList.replace("{index}",i);
                }else if(ccflId==-2){
                    if((i-1)==0){className+="on";subStyleName=""}//默认选中i-1
                    DOMVal+="<li class='"+className+"'><a href='javascript:void(0)' target='_self' class='clearfix'><span class='trade_text'>"+subData[i].zqlxmc+"</span><span class='trade_rate'>"+subData[i].ccszzb.toFixed(2)+"%</span><span class='trade_right'></span></a></li>";
                    fundList = (fundData[prefix+ccflId+"_"+hisDate])?fundData[prefix+ccflId+"_"+hisDate][subData[i].zqlxdm]:null;

                    contentList=contentList.replace("{tipsDesc}","单只基金持有该类债券的规模占公司同类基金持有该类债券总规模的比例");
                    contentList=contentList.replace("{ccflzxmc}",subData[i].zqlxmc);
                    contentList=contentList.replace("{cggmdesc}","持债规模："+subData[i].ccsz+"亿元，"+(!fundList?0:fundList.length)+"只基金持有");
                    contentList=contentList.replace("{index}",(i-1));//舍弃 1099 合计类型
                }else{
                    if(ccflId == 1){
                        //行业 Tips
                        contentList=contentList.replace("{tipsDesc}","单只基金持有该类股票的规模占公司同类基金持有该类股票总规模的比例");
                    }else if(ccflId == 2){
                        //主题 Tips
                        contentList=contentList.replace("{tipsDesc}","单只基金持有该主题股票的规模占公司同类基金持有该主题股票总规模的比例");
                    }else if(ccflId == 3){
                        //大中小盘 Tips
                        contentList=contentList.replace("{tipsDesc}","单只基金持有该类股票的规模占公司同类基金持有该类股票总规模的比例");
                    }
                    DOMVal+="<li class='"+className+"'><a href='javascript:void(0)' target='_self' class='clearfix'><span class='trade_text'>"+subData[i].ccflzxmc+"</span><span class='trade_rate'>"+subData[i].zgpccbl.toFixed(2)+"%</span><span class='trade_right'></span></a></li>";
                    fundList = (fundData[prefix+ccflId+"_"+hisDate])?fundData[prefix+ccflId+"_"+hisDate][subData[i].ccflzx]:null;
                    contentList=contentList.replace("{ccflzxmc}",subData[i].ccflzxmc);
                    contentList=contentList.replace("{cggmdesc}","持股规模："+subData[i].ccsz+"亿元，"+(!fundList?0:fundList.length)+"只基金持有");
                    contentList=contentList.replace("{index}",i);
                }
                contentList=contentList.replace("{divIndex}",divTypeId);
                contentList=contentList.replace("{shareId}",divTypeId);
                contentList=contentList.replace("{styleName}",subStyleName);
                contentList=contentList.replace("{moreTheme}",moreThemeDiv);
                $(contentId).append(contentList);
                //基金列表
                if(fundList){
                    for(var j=0; j<fundList.length;j++){
                        var managerList = fundList[j].managerList;
                        var subContentTemplate = "<tr><td class='tdl w1'><a href='/fund/"+fundList[j].jjdm+"/' target='_blank'class='pleft10'>"+fundList[j].jjjc+"</a></td><td class='tdc w2'>";
                        if(managerList){
                            for(var m=0; m<managerList.length; m++){
                                if(m<2){
                                    subContentTemplate+="<a href='/fund/manager/"+managerList[m].rydm+"/' target='_blank'>"+managerList[m].ryxm+"</a>";
                                }
                            }
                        }
                        subContentTemplate+="</td>";
                        if(fundList[j].hb1n!=null || fundList[j].hb1n!=undefined){
                            if(fundList[j].hb1n<0){
                                subContentTemplate+="<td class='tdr w3'><span class='cGreen pright20'>"+fundList[j].hb1n.toFixed(2)+"%</span></td>";
                            }else if(fundList[j].hb1n>0){
                                subContentTemplate+="<td class='tdr w3'><span class='cRed pright20'>"+fundList[j].hb1n.toFixed(2)+"%</span></td>";
                            }else{
                                subContentTemplate+="<td class='tdr w3'><span class='pright20'>"+fundList[j].hb1n.toFixed(2)+"%</span></td>";
                            }
                        }else{
                            subContentTemplate+="<td class='tdc w3'>--</td>";
                        }


                        if(ccflId==-1){
                            //QDII
                            if(fundList[j].dgjjjjzcjzzb!=null || fundList[j].dgjjjjzcjzzb!=undefined){
                                if(fundList[j].dgjjjjzcjzzb==99999){
                                    subContentTemplate+="<td class='tdr w4'><span class='c666 pright20'>--</span></td>";
                                }else{
                                    subContentTemplate+="<td class='tdr w4'><span class='c666 pright20'>"+fundList[j].dgjjjjzcjzzb.toFixed(2)+"%</span></td>";
                                }
                            }else{
                                subContentTemplate+="<td class='tdr w4'><span class='c666 pright20'>--</span></td>";
                            }
                        }else if(ccflId==-2){
                            //持债
                            if(fundList[j].jjzqccszzb!=null || fundList[j].jjzqccszzb!=undefined){
                                if(fundList[j].jjzqccszzb==99999){
                                    subContentTemplate+="<td class='tdr w4'><span class='c666 pright20'>--</span></td>";
                                }else{
                                    subContentTemplate+="<td class='tdr w4'><span class='c666 pright20'>"+fundList[j].jjzqccszzb.toFixed(2)+"%</span></td>";
                                }
                            }else{
                                subContentTemplate+="<td class='tdr w4'><span class='c666 pright20'>--</span></td>";
                            }
                        }else{
                            //行业、主题、大中小盘
                            if(fundList[j].jjcczb!=null || fundList[j].jjcczb!=undefined){
                                if(fundList[j].jjcczb==99999){
                                    subContentTemplate+="<td class='tdr w4'><span class='c666 pright20'>--</span></td>";
                                }else{
                                    subContentTemplate+="<td class='tdr w4'><span class='c666 pright20'>"+fundList[j].jjcczb.toFixed(2)+"%</span></td>";
                                }
                            }else{
                                subContentTemplate+="<td class='tdr w4'><span class='c666 pright20'>--</span></td>";
                            }
                        }


                        if(!fundList[j].allowGM){
                            subContentTemplate+="<td class='tdc w5'><span class='a_disable'>购买</span> ";
                        }else{
                            subContentTemplate+="<td class='tdc w5'><a href='https://trade.ehowbuy.com"+fundList[j].tradeUrl+"' target='_blank' class='add_buy'>购买</a> ";
                        }
                        var isSelected = selectedMap[fundList[j].jjdm];
                        if(!isSelected){
                            subContentTemplate+="<a href='javascript:void(0)' onclick='addSelected(\""+fundList[j].jjdm+"\",this)' target='_self' class='add_select add_zx_module addzx_"+fundList[j].jjdm+"'>+自选</a><a href='javascript:delSelected(\""+fundList[j].jjdm+"\")' onclick='delFund(\""+fundList[j].jjdm+"\",0)' target='_self' class='c666 delzx_"+fundList[j].jjdm+"'  style='display:none;'>已自选</a>";
                        }else{
                            subContentTemplate+="<a href='javascript:delSelected(\""+fundList[j].jjdm+"\")' onclick='delFund(\""+fundList[j].jjdm+"\",0)' target='_self' class='c666 delzx_"+fundList[j].jjdm+"'>已自选</a><a href='javascript:void()' onclick='addSelected(\""+fundList[j].jjdm+"\",this)' target='_self' class='add_select add_zx_module addzx_"+fundList[j].jjdm+"' style='display:none;'>+自选</a>";
                        }
                        subContentTemplate+="</td></tr>";

                        //兼容持债分布
                        var i_index=i;
                        if(ccflId==-2){
                            i_index=(i-1);
                        }
                        $(contentId+" #sharehold"+divTypeId+"_"+i_index+" .table_content").find("table").append(subContentTemplate);
                    }
                }
            }
            $(quarterId).html(DOMVal);
            //重置操作选项
            shareChange();
            tipsBind();
            loadAddZxStyle();
        }
    }

    //live 绑定change事件
    $("#industry_quarter_select").live("change",function(){
        shareCrtDOM("share_",industry_data.share_1,industry_sub_data,"#industry_quarter_select","#industryTotal","#industry_content","#industry_quarter_data",1);
    });
    $("#theme_quarter_select").live("change",function(){
        shareCrtDOM("share_",theme_data.share_2,theme_sub_data,"#theme_quarter_select","#themeTotal","#theme_content","#theme_quarter_data",2);
    });
    $("#medium_small_quarter_select").live("change",function(){
        shareCrtDOM("share_",medium_small_data.share_3,medium_small_sub_data,"#medium_small_quarter_select","#medium_smallTotal","#medium_small_content","#medium_small_quarter_data",3);
    });
    $("#qdii_quarter_select").live("change",function(){
        shareCrtDOM("qdii_",qdii_data,qdii_sub_data,"#qdii_quarter_select","#qdiiTotal","#qdii_content","#qdii_quarter_data",-1);
    });
    $("#debt_holders_quarter_select").live("change",function(){
        shareCrtDOM("debtholders_",debt_holders_data,debt_holders_sub_data,"#debt_holders_quarter_select","#debtHoldersTotal","#debt_holders_content","#debt_holders_quarter_data",-2);
    });

</script>
<script type="text/javascript">
    /**
     * 根据缓存数据加载投资排名分布数据DOM
     * @data 投资分布源数据
     */

    //cookie 不再提示
    function investmentUlClick(typeId){
        $("#investment_ul_select_text").find("p").each(function(){
            $(this).hide();
        })

        var welcome = getCookie('investment_ul_select_text_'+typeId);
        if(welcome == "true"){
            $("#investment_ul_select_text_"+typeId).hide();
        }else{
            $("#investment_ul_select_text_"+typeId).show();
        }

        $("#investment_table_header").nextAll().each(function(){
            if(typeId!=$(this).attr("data-value")){
                $(this).hide();
            }else{
                $(this).show();
            }
        })
    }
    //live 绑定change时间
    $("#investment_quarter_select").live("change",function(){
        investmentCrtDOM(investment_data);
    });

    //添加不再显示cookie
    function clearInvestMentText(t){
        addCookie(t.parentNode.id,"true");
    }

    //默认加载第一个Table
    function loadTabSelect(){
        $("#nTab11").find("li").eq(0).attr("class","on");
    }
</script>

<script>

    $('#nTab1').find('li').live('click',function(){
        var _obj = $(this)[0];
        var name = "nTab1";
        var cursel = $(this).attr("data-index");
        var value = $(this).attr("data-value");

        $.ajax({
            url : "/fund/ajax/company/getSelectWzflData.htm",
            data : {
                wzfl : value,
                jgdm : 80000229
            },
            success : function(data){
                $("#CACHE_HTML_BODY").html(data);
                fundTypeAjax();
                // tab 切换
                var $tabList = $('#'+name).find('li');
                $tabList.each(function(i,obj){
                    if(cursel ==i){
                        $(_obj).parent().find('li').removeClass('on');
                        $(obj).addClass('on');
                        return;
                    }
                });
                setTimeout("loadBody()",100);
            }
        })
    })

</script>
<!-- menu begin -->

<!-- menu end -->
<script type="text/javascript" src="https://static.howbuy.com/js/global/head/1.0/jq_input_val_box.js"></script><!-- input输入提示 -->
<script type="text/javascript" src="https://static.howbuy.com/js/global/head/1.0/header.js"></script>

<!-- page head end -->
<div class="gray-wrapper"><!-- gray-wrapper begin -->
    <!-- main begin-->
    <div class="main">
        <script type="text/javascript" src="https://static.howbuy.com/??/js/global/side_layer_box/1.0/side-layer-box.js?v=18c4dc5"></script>
        <div class="currentPath">
            <a href="/fund/" target="_blank">公募基金</a>&nbsp;-&nbsp;<a href="/fund/company/" target="_blank">基金公司</a>&nbsp;-&nbsp;<span class="c666">易方达基金管理有限公司</span>
        </div>
        <div class="file_top_box clearfix">
            <div class="file_top_left fl">
                <div class="file_top_con">
                    <div class="file_con_top clearfix">
                        <div class="file_con_left fl">
                            <div class="fund_info clearfix">
                                <div class="fund_name ftYahei fl">${requestScope.fundCompany.fcName}</div>
                                <div class="fund_des fl">
                                    <ul class="clearfix">
                                        <li class="top_long_bg"><span class="top_text">2001年成立</span></li>
                                    </ul>
                                </div>
                            </div>
                            <div class="awards clearfix">
                                <div class="awards_item fl">
                                    <ul class="awards_hide">
                                        <li class="awards_li first clearfix"><span class="fl">2019年年度金牛基金管理公司</span></li>
                                        <li class="awards_li" style="display:none;">2019年固定收益投资金牛基金公司</li>
                                        <li class="awards_li" style="display:none;">2019年年度固定收益投资明星团队奖</li>
                                        <li class="awards_li" style="display:none;">2019年年度十大明星基金公司</li>
                                        <li class="awards_li" style="display:none;">2018年年度“金基金公司奖”TOP公司奖</li>
                                    </ul>
                                </div>
                                <a href="#" class="awards_btn fl" target="_self" href="">更多</a>
                            </div>
                        </div>
                        <div class="file_con_right fr">
                            <img src="https://static.howbuy.com/images/www/fcLogo/80000229.jpg" alt="" width="120" height="42" />
                        </div>
                    </div>
                    <div class="file_con_bottom">
                        <table>
                            <tr class="t_bg">
                                <td class="w1"></td>
                                <td class="w2 bold_c666">规模<span class="noweight c999">(亿元)</span></td>
                                <td class="w3 bold_c666">基金<span class="noweight c999">(只)</span></td>
                                <td class="w4 bold_c666">经理<span class="noweight c999">(位)</span></td>
                            </tr>
                            <tr class="t_bg">
                                <td class="bold_c666">总量</td>
                                <td><span class="c333">${requestScope.fundCompany.fScale}</span></td>
                                <td><span class="c333">${requestScope.fundCompany.fcfCount}</span></td>
                                <td><span class="c333">${requestScope.fundCompany.fcfmCount}</span></td>
                            </tr>
                        </table>
                    </div>               </div>
            </div>
            <div class="file_top_right fr">
                <div class="slider_top c333">
                    基金战斗力<span class="date_text c999 noweight">
			2020-06-24
			至
			2021-06-24

		</span>
                </div>
                <div class="picFocus">
                    <div class="bd">
                        <ul class="clearfix">

                            <li class="slider_item">
                                <div id="charts_jjzdl_1"></div>
                            </li>
                            <li class="slider_item">
                                <div id="charts_jjzdl_2"></div>
                            </li>
                        </ul>
                    </div>
                    <div class="hd">
                        <ul>
                            <li class="on"></li>
                            <li></li>
                        </ul>
                    </div>
                    <a class="prev" href="javascript:void(0);" target="_self" onclick="return false;">
                        &lt; </a> <a class="next" href="javascript:void(0);" target="_self"
                                     onclick="return false;"> &gt; </a>
                </div>
            </div>
            <script type="text/javascript">
                var jjzdl_chart ={
                    chart: {
                        width:410,
                        height:120,
                        type: 'column',
                        marginBottom : 28
                    },
                    colors : ["#919191","#4C77AA"],
                    title: {
                        text: ''
                    },
                    xAxis: {
                        categories: [],
                        labels : {
                            style: {
                                fontSize : '11px',
                                fontWeight: 'bold'
                            }
                        },
                        tickLength:0/*X坐标刻度向上*/
                    },
                    yAxis: {
                        labels : {
                            formatter : function(){return this.value+"%";}
                        },
                        title:''
                    },
                    tooltip: {
                        formatter : function(){
                            var value = (this.y+"");
                            var temp_value = "";
                            if(value.indexOf(".")==-1){
                                value+=".00";
                            }else{
                                temp_value=value.substring(value.indexOf(".")+1,value.length);
                                if(temp_value.length==1){
                                    value+="0";
                                }
                            }

                            return this.point.name+"平均:"+value+"%</b>";
                        }
                    },
                    plotOptions: {
                        column: {
                            pointPadding: 0,
                            borderWidth: 0,
                            pointWidth : 20
                        }
                    },
                    series: [{
                    }],
                    legend : {
                        enabled : true,
                        layout: 'vertical',
                        align: 'right',
                        borderWidth:0,
                        itemMarginTop: 2,
                        temMarginBottom: 2,
                        verticalAlign: 'middle'
                    },
                    credits : { /*版权图标显示*/
                        enabled : false
                    }
                };
                var jjzdlCm = '{"name":"本公司平均","data":[';
                var jjzdlTl = '{"name":"同类平均","data":[';
                var minValue = 0;
                var jjzdlHbMin = 0;
                var jjzdltlHbMin=0;
                var jjzdlHb = 6.00;
                var jjzdltlHb = 4.05;
                if (0==0){
                    jjzdlHbMin=jjzdlHb;
                    jjzdltlHbMin=jjzdltlHb;
                }
                if(jjzdlHbMin>jjzdlHb){
                    jjzdlHbMin=jjzdlHb;
                }
                if(jjzdltlHbMin>jjzdltlHb){
                    jjzdltlHbMin=jjzdltlHb;
                }

                jjzdlCm += '{"y":'+jjzdlHb+',"name":"债券型"},';
                jjzdlTl += '{"y":'+jjzdltlHb+',"name":"债券型"},';
                var jjzdlHb = 2.24;
                var jjzdltlHb = 2.17;
                if (1==0){
                    jjzdlHbMin=jjzdlHb;
                    jjzdltlHbMin=jjzdltlHb;
                }
                if(jjzdlHbMin>jjzdlHb){
                    jjzdlHbMin=jjzdlHb;
                }
                if(jjzdltlHbMin>jjzdltlHb){
                    jjzdltlHbMin=jjzdltlHb;
                }

                jjzdlCm += '{"y":'+jjzdlHb+',"name":"货币型"},';
                jjzdlTl += '{"y":'+jjzdltlHb+',"name":"货币型"},';
                var jjzdlHb = 42.23;
                var jjzdltlHb = 41.27;
                if (2==0){
                    jjzdlHbMin=jjzdlHb;
                    jjzdltlHbMin=jjzdltlHb;
                }
                if(jjzdlHbMin>jjzdlHb){
                    jjzdlHbMin=jjzdlHb;
                }
                if(jjzdltlHbMin>jjzdltlHb){
                    jjzdltlHbMin=jjzdltlHb;
                }

                jjzdlCm += '{"y":'+jjzdlHb+',"name":"股票型"},';
                jjzdlTl += '{"y":'+jjzdltlHb+',"name":"股票型"},';
                var jjzdlHb = 42.39;
                var jjzdltlHb = 68.73;
                if (3==0){
                    jjzdlHbMin=jjzdlHb;
                    jjzdltlHbMin=jjzdltlHb;
                }
                if(jjzdlHbMin>jjzdlHb){
                    jjzdlHbMin=jjzdlHb;
                }
                if(jjzdltlHbMin>jjzdltlHb){
                    jjzdltlHbMin=jjzdltlHb;
                }

                jjzdlCm += '{"y":'+jjzdlHb+',"name":"结构型"},';
                jjzdlTl += '{"y":'+jjzdltlHb+',"name":"结构型"},';
                var jjzdlHb = 31.24;
                var jjzdltlHb = 30.53;
                if (4==0){
                    jjzdlHbMin=jjzdlHb;
                    jjzdltlHbMin=jjzdltlHb;
                }
                if(jjzdlHbMin>jjzdlHb){
                    jjzdlHbMin=jjzdlHb;
                }
                if(jjzdltlHbMin>jjzdltlHb){
                    jjzdltlHbMin=jjzdltlHb;
                }

                jjzdlCm += '{"y":'+jjzdlHb+',"name":"混合型"},';
                jjzdlTl += '{"y":'+jjzdltlHb+',"name":"混合型"},';
                var jjzdlHb = 28.93;
                var jjzdltlHb = 27.76;
                if (5==0){
                    jjzdlHbMin=jjzdlHb;
                    jjzdltlHbMin=jjzdltlHb;
                }
                if(jjzdlHbMin>jjzdlHb){
                    jjzdlHbMin=jjzdlHb;
                }
                if(jjzdltlHbMin>jjzdltlHb){
                    jjzdltlHbMin=jjzdltlHb;
                }

                jjzdlCm += '{"y":'+jjzdlHb+',"name":"指数型"},';
                jjzdlTl += '{"y":'+jjzdltlHb+',"name":"指数型"},';
                var jjzdlHb = 9.44;
                var jjzdltlHb = 12.95;
                if (6==0){
                    jjzdlHbMin=jjzdlHb;
                    jjzdltlHbMin=jjzdltlHb;
                }
                if(jjzdlHbMin>jjzdlHb){
                    jjzdlHbMin=jjzdlHb;
                }
                if(jjzdltlHbMin>jjzdltlHb){
                    jjzdltlHbMin=jjzdltlHb;
                }

                jjzdlCm += '{"y":'+jjzdlHb+',"name":"QDII"},';
                jjzdlTl += '{"y":'+jjzdltlHb+',"name":"QDII"},';
                var jjzdlHb = 0.00;
                var jjzdltlHb = 0;
                if (7==0){
                    jjzdlHbMin=jjzdlHb;
                    jjzdltlHbMin=jjzdltlHb;
                }
                if(jjzdlHbMin>jjzdlHb){
                    jjzdlHbMin=jjzdlHb;
                }
                if(jjzdltlHbMin>jjzdltlHb){
                    jjzdltlHbMin=jjzdltlHb;
                }

                jjzdlCm += '{"y":'+jjzdlHb+',"name":"保本型"},';
                jjzdlTl += '{"y":'+jjzdltlHb+',"name":"保本型"},';
                if(jjzdlHbMin>jjzdltlHbMin){
                    minValue = jjzdltlHbMin;
                }else{
                    minValue = jjzdlHbMin;
                }

                jjzdlCm=jjzdlCm.substring(0,jjzdlCm.length-1);
                jjzdlTl=jjzdlTl.substring(0,jjzdlTl.length-1);
                jjzdlCm +="]}";
                jjzdlTl +="]}";

                var dataJjzdl = "["+jjzdlTl+","+jjzdlCm+"]";
                var spliceArr = 4;
                var startSplice = 0;
                var tempData = eval(dataJjzdl);
                tempData[0].data = tempData[0].data.splice(startSplice,spliceArr);
                tempData[1].data = tempData[1].data.splice(startSplice,spliceArr);

                jjzdl_chart.series=tempData;
                //jjzdl_chart.yAxis.min=minValue;
                jjzdl_chart.chart.renderTo='charts_jjzdl_1';
                var culumn_chart = new Highcharts.Chart(jjzdl_chart);
                culumn_chart = null;
                var spliceArr = 4;
                var startSplice = 4;
                var tempData = eval(dataJjzdl);
                tempData[0].data = tempData[0].data.splice(startSplice,spliceArr);
                tempData[1].data = tempData[1].data.splice(startSplice,spliceArr);

                jjzdl_chart.series=tempData;
                //jjzdl_chart.yAxis.min=minValue;
                jjzdl_chart.chart.renderTo='charts_jjzdl_2';
                var culumn_chart = new Highcharts.Chart(jjzdl_chart);
                culumn_chart = null;

            </script>
        </div>
        <div class="tools-bar-wrapper">
            <div class="tools-bar-box ftYahei clearfix">
                <span class="nav_left fl"></span>
                <ul class="tools-bar fl clearfix" id="tools-bar22">
                    <li><a value="/fund/company/80000229/,/fund/company/80000229" href="/fund/company/80000229/" target="_self">基金业绩</a></li>
                    <li><a value="/performancemanager" href="/fund/company/80000229/performancemanager/" target="_self">经理业绩</a></li>
                    <li><a value="/fundlist" href="/fund/company/80000229/fundlist/" target="_self">旗下基金</a></li>
                    <li><a value="/managerlist" href="/fund/company/80000229/managerlist" target="_self">旗下经理</a></li>
                    <li><a value="/files,/files/" href="/fund/company/80000229/files/" target="_self">公司档案</a></li>
                    <li><a value="/notice/" href="/fund/company/80000229/notice/index" target="_self">公司公告</a></li>
                    <li><a value="/comments" href="/fund/company/80000229/comments" target="_self">基民评论<span class="font12 noweight">(5447)</span></a></li>
                </ul>
            </div>
        </div>

        <script type="text/javascript">
            //菜单高亮切换

            $(function () {
                var a1 = window.location.href;
                var a2 = $(".tools-bar-wrapper .tools-bar a");
                for (var i = a2.length-1; i >= 0; i--) {
                    if($(a2[i]).attr("target") == "_blank"){
                        continue;
                    }
                    if($(a2[i]).attr("value")){
                        var avalue = $(a2[i]).attr("value").split(",");
                        if(avalue.length>=0){
                            for(var j = 0; j<avalue.length;j++){
                                if (a1.indexOf(avalue[j])>=0) {
                                    $(a2[i]).parent().addClass("on");
                                    return;
                                }
                            }
                        }
                    }
                }
            });
        </script>
        <!-- side-layer-box begin -->
        <link rel="stylesheet" type="text/css" href="https://static.howbuy.com/??/css/erweima/fund_new_fr_layer.css?v=18c4dc5"/>
        <script type="text/javascript" src="https://static.howbuy.com/??/js/erweima/fund_new_fr_layer.js?v=18c4dc5"></script>
        <div class="new_fr_layer">
            <!-- side-layer-box begin -->
            <ul>
                <li class="code">
                    <div class="down-zsjj">
                        <img class="pngFix" src="https://static.howbuy.com/images/erweima/float-zsjj-bar.png" alt=""/>
                    </div>
                    <div class="zsjj-qrcode down-active">
                        <div class="zsjj-qrcode-close"></div>
                        <div class="zsjj_img">
                            <img src="https://static.howbuy.com/images/erweima/sys.png" alt="" />
                        </div>
                        <div class="zsjj_smxz">
                            手机查看<span class="product_name">【易方达基金】</span>
                        </div>
                        <div class="zsjj_ewm">
                            <img src="https://static.howbuy.com/images/erweima/zsjj_erw.png" alt="" />
                        </div>
                    </div>
                    <div class="zsjj-qrcode_layer"></div>
                </li>
                <li class="gotop" style="visibility: hidden;">
                    <a target="_self" href="javascript:;"></a>
                </li>
            </ul>
        </div>
        <!-- side-layer-box end -->       <!-- box_wrap begin-->
        <div class="box_wrap">
            <!-- box_main begin-->
            <div class="box_main">
                <div id="nTab0_0" class="nTab0"><!-- 基金业绩  begin -->
                    <div class="stock_content clearfix">
                        <div id="CACHE_HTML_BODY">
                            <!--
                                生成时间 ： 2021-06-25 06:46:11
                                COMPANY_CACHE_BODY
                            -->


                            <script>
                                var cache_wzfl="1";
                                var cache_jgdm="80000229";
                            </script>
                            <div class="content_left fl">
                                <div class="performance_title">
                                    <ul id="nTab1" class="clearfix">
                                        <li data-index="0" data-value="1" class="on" ><a href="" target="_self">股票型</a></li>
                                        <li data-index="1" data-value="8" ><a href="" target="_self">指数型</a></li>
                                        <li data-index="2" data-value="3" ><a href="" target="_self">混合型</a></li>
                                        <li data-index="3" data-value="5" ><a href="" target="_self">债券型</a></li>
                                        <li data-index="4" data-value="7" ><a href="" target="_self">货币型</a></li>
                                        <li data-index="5" data-value="9" ><a href="" target="_self">QDII</a></li>
                                        <li data-index="6" data-value="t" ><a href="" target="_self">结构型</a></li>
                                    </ul>
                                </div>
                                <div id="WZFL_DATA">
                                    <div id="nTab1_0" class="nTab1 content_main">
                                        <div class="strength">
                                            <div class="content_title ftYahei">基金实力</div>
                                            <div class="strength_main clearfix">
                                                <div class="strength_left fl clearfix">
                                                    <div class="charts fl" id="flhb_chart_div"></div>

                                                    <script type="text/javascript">
                                                        var jzrqStr = '2020-06-24'+"至"+'2021-06-24';
                                                        var min=0;
                                                        min = 41.27;
                                                        var flhb_chart={
                                                            chart: {
                                                                width:175,
                                                                height:110,
                                                                type: 'column',
                                                                renderTo : 'flhb_chart_div',
                                                                marginBottom : 28
                                                            },
                                                            title: {
                                                                text: ''
                                                            },
                                                            xAxis: {
                                                                title : {
                                                                    style : {
                                                                        fontSize : '11px',
                                                                        color : '#9A9A9A',
                                                                        fontWeight:'normal'
                                                                    },
                                                                    x:100
                                                                },
                                                                tickLength:0,/*X坐标刻度向上*/
                                                                labels : {
                                                                    enabled : false,
                                                                    rotation: 0,
                                                                    tickWidth :0,
                                                                    align : 'left'
                                                                }
                                                            },
                                                            yAxis: {
                                                                min : (min-1),
                                                                labels : {
                                                                    formatter : function(){return this.value+"%";}
                                                                },
                                                                title:''
                                                            },
                                                            tooltip: {
                                                                formatter : function(){
                                                                    var value = (this.y+"");
                                                                    var temp_value = "";
                                                                    if(value.indexOf(".")==-1){
                                                                        value+=".00";
                                                                    }else{
                                                                        temp_value=value.substring(value.indexOf(".")+1,value.length);
                                                                        if(temp_value.length==1){
                                                                            value+="0";
                                                                        }
                                                                    }
                                                                    return this.point.name+":"+value+"%</b>";
                                                                }
                                                            },
                                                            plotOptions: {
                                                                column: {
                                                                    pointPadding: 0.2,
                                                                    borderWidth: 0
                                                                }
                                                            },
                                                            series: [{
                                                                name: '',
                                                                data: []

                                                            }],
                                                            legend : {
                                                                enabled : false
                                                            },
                                                            credits : { /*版权图标显示*/
                                                                enabled : false
                                                            }
                                                        };

                                                        createFlhbChart(41.27,42.23);// Loaded by default
                                                        function createFlhbChart(tlFlhb1n,companyFlhb1n){
                                                            var tlHb1n = tlFlhb1n;
                                                            var cmHb1n = companyFlhb1n;
                                                            var data = [{"y":tlFlhb1n,"name":"同类平均","color":"#919191"},{"y":companyFlhb1n,"name":"本公司平均","color":"#4C77AA"}];
                                                            flhb_chart.series[0].data = data;
                                                            var culumn_chart = new Highcharts.Chart(flhb_chart);
                                                            culumn_chart = null;
                                                        }
                                                    </script>					 <div class="charts_info fr">
                                                    <table>
                                                        <tr>
                                                            <td class="tdl" colspan="2"><span class="jynsy_text c333">股票型近1年收益</span></td>
                                                        </tr>
                                                        <tr>
                                                            <td class="tdl w1"><span class="legend_block legend_block_blue"></span><span class="legend_text">本公司平均</span></td>
                                                            <td class="tdl"><span class="cRed">42.23%</span></td>
                                                        </tr>
                                                        <tr>
                                                            <td class="tdl  w1"><span class="legend_block legend_block_gray"></span><span class="legend_text">同类平均</span></td>
                                                            <td class="tdl"><span class="legend_rate cRed"><span class="cRed">41.27%</span></span></td>
                                                        </tr>
                                                        <tr>
                                                            <td class="tdl" colspan="2">
									<span class="tlpj_text">比同类平均水平<span class="legend_rate cRed">高0.95%</span>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                                </div>
                                                <div class="strength_right fr">
                                                    <table>
                                                        <tr class="t_bg">
                                                            <td class="w1"></td>
                                                            <td class="w2 bold_c666">旗下股票型</td>
                                                            <td class="w3 bold_c666">平均每家公司</td>
                                                            <td class="bold_c666">排名</td>
                                                        </tr>
                                                        <tr>
                                                            <td align="left" class="pleft15 bold_c666">数量<span class="noweight c999">(只)</span></td>
                                                            <td><span class="c666">13</span></td>
                                                            <td><span class="c666">6.83</span></td>
                                                            <td>
                                                                <span class="cRed">18</span>/<span class="c999">102</span>
                                                            </td>
                                                        </tr>
                                                        <tr class="t_bg">
                                                            <td align="left" class="pleft15 bold_c666">规模<span class="noweight c999">(亿元)</span></td>
                                                            <td><span class="c666">1001.09</span></td>
                                                            <td><span class="c666">80.84</span></td>
                                                            <td>
                                                                <span class="cRed">1</span>/<span class="c999">102</span>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="strength" id="PJSY_DIV">
                                            <div class="content_title ftYahei">平均收益</div>
                                            <div class="strength_main jjyj_pjsy">
                                                <table>
                                                    <tr class="t_bg">
                                                        <td class="tdc w1" align="center"></td>
                                                        <td class="tdc w2 bold_c666">今年以来</td>
                                                        <td class="tdc w3 bold_c666">近1周</td>
                                                        <td class="tdc w4 bold_c666">近1月</td>
                                                        <td class="tdc w5 bold_c666">近3月</td>
                                                        <td class="tdc w6 bold_c666">近6月</td>
                                                        <td class="tdc w7 bold_c666">近1年</td>
                                                        <td class="tdc w8 bold_c666">近2年</td>
                                                        <td class="tdc w9 bold_c666">近3年</td>
                                                    </tr>
                                                    <tr class="t_body">
                                                        <td class="tdl pleft15 bold_c666">平均收益</td>
                                                        <td><span class="cRed">5.06%</span></td>
                                                        <td><span class="cRed">1.63%</span></td>
                                                        <td><span class="cRed">2.30%</span></td>
                                                        <td><span class="cRed">10.88%</span></td>
                                                        <td><span class="cRed">8.90%</span></td>
                                                        <td><span class="cRed">42.23%</span></td>
                                                        <td><span class="cRed">85.15%</span></td>
                                                        <td><span class="cRed">107.37%</span></td>
                                                    </tr>
                                                    <tr class="t_bg t_body">
                                                        <td class="tdl pleft15 bold_c666">同类平均</td>
                                                        <td><span class="cRed">7.71%</span></td>
                                                        <td><span class="cRed">2.74%</span></td>
                                                        <td><span class="cRed">4.63%</span></td>
                                                        <td><span class="cRed">14.88%</span></td>
                                                        <td><span class="cRed">11.94%</span></td>
                                                        <td><span class="cRed">41.27%</span></td>
                                                        <td><span class="cRed">109.76%</span></td>
                                                        <td><span class="cRed">118.68%</span></td>
                                                    </tr>
                                                    <tr class="t_body">
                                                        <td class="tdl pleft15 bold_c666">沪深300</td>
                                                        <td><span class="cGreen">-1.06%</span></td>
                                                        <td><span class="cRed">1.06%</span></td>
                                                        <td><span class="cRed">0.01%</span></td>
                                                        <td><span class="cRed">4.61%</span></td>
                                                        <td><span class="cRed">3.12%</span></td>
                                                        <td><span class="cRed">24.57%</span></td>
                                                        <td><span class="cRed">34.23%</span></td>
                                                        <td><span class="cRed">42.87%</span></td>
                                                    </tr>
                                                    <tr class="t_bg t_body">
                                                        <td class="tdl pleft15 bold_c666">公司排名</td>
                                                        <td>
                                                            <span class="cRed">65</span>/<span class="rank_text">89</span>
                                                        </td>
                                                        <td>
                                                            <span class="cRed">71</span>/<span class="rank_text">91</span>
                                                        </td>
                                                        <td>
                                                            <span class="cRed">64</span>/<span class="rank_text">91</span>
                                                        </td>
                                                        <td>
                                                            <span class="cRed">64</span>/<span class="rank_text">91</span>
                                                        </td>
                                                        <td>
                                                            <span class="cRed">66</span>/<span class="rank_text">89</span>
                                                        </td>
                                                        <td>
                                                            <span class="cRed">35</span>/<span class="rank_text">85</span>
                                                        </td>
                                                        <td>
                                                            <span class="cRed">51</span>/<span class="rank_text">73</span>
                                                        </td>
                                                        <td>
                                                            <span class="cRed">35</span>/<span class="rank_text">63</span>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="tdl pleft15 bold_c666">四分位排名</td>
                                                        <td class='tdc'><div class="four-con"><div class="fourPM fourPm_3"></div><div class="fourPM-text">一般</div></div></td>
                                                        <td class='tdc'><div class="four-con"><div class="fourPM fourPm_4"></div><div class="fourPM-text">差</div></div></td>
                                                        <td class='tdc'><div class="four-con"><div class="fourPM fourPm_3"></div><div class="fourPM-text">一般</div></div></td>
                                                        <td class='tdc'><div class="four-con"><div class="fourPM fourPm_3"></div><div class="fourPM-text">一般</div></div></td>
                                                        <td class='tdc'><div class="four-con"><div class="fourPM fourPm_3"></div><div class="fourPM-text">一般</div></div></td>
                                                        <td class='tdc'><div class="four-con"><div class="fourPM fourPm_2"></div><div class="fourPM-text">良好</div></div></td>
                                                        <td class='tdc'><div class="four-con"><div class="fourPM fourPm_3"></div><div class="fourPM-text">一般</div></div></td>
                                                        <td class='tdc'><div class="four-con"><div class="fourPM fourPm_3"></div><div class="fourPM-text">一般</div></div></td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </div>
                                        <div class="strength">
                                            <div class="content_title ftYahei">基金列表</div>
                                            <div class="strength_tab">
                                                <ul id="nTab11" class="clearfix">
                                                    <li onclick="setTab('nTab11',0,this,0)"><a href="" target="_self">收益排名分布</a></li>

                                                    <li onclick="setTab('nTab11',0,this,0)"><a href="" target="_self">持股分布</a></li>
                                                    <li onclick="setTab('nTab11',0,this,0)"><a class="item_last" href="" target="_self">投资风格分布</a><div class="bh_tips"></div></li>
                                                </ul>
                                            </div>
                                            <div >
                                                <table>
                                                    <thead>
                                                    <tr class="t_bg" style="height: 30px">
                                                        <td class="tdc w2 bold_c666">基金简称</td>
                                                        <td class="tdc w2 bold_c666">最小申购额</td>
                                                        <td class="tdc w2 bold_c666">单位净值</td>
                                                        <td class="tdc w2 bold_c666">基金编号</td>
                                                        <td class="tdc w2 bold_c666">购买费率</td>
                                                        <td class="tdc w2 bold_c666">操作</td>
                                                    </tr>
                                                    </thead>

                                                    <c:forEach items="${sessionScope.list}" var="fund">
                                                        <tr>
                                                            <td style="padding-top:12px;"><a href="/Anonymous/fundWeb?fId=${fund.fId}">${fund.fName}</a></td>
                                                            <td>${fund.minBuy}</td>
                                                            <td>${fund.dwjz}</td>
                                                            <td>${fund.fId}</td>
                                                            <td>${fund.afterRate}</td>
                                                            <td><a href="#">购买</a><a href="#">+自选</a></td>
                                                        </tr>
                                                    </c:forEach>

                                                </table>
                                            </div>


                                            <div id="nTab11_1" class="strength_main nTab11" style="display: none;">
                                                <div class="shareholding">
                                                    <div class="trade" id="industryTotal">
                                                        <div class="shareholding_top clearfix">
                                                            <div class="secondary_title fl">行业 </div><div class="secondary_t c333 fl"></div>
                                                            <div class="data_share c666 fr">数据截止日期：
                                                                <select id="industry_quarter_select"></select>
                                                            </div>
                                                        </div>

                                                        <div class="trade_content clearfix">
                                                            <div class="shareholding_left shareholding_h2 fl">
                                                                <ul class="sharehold_change" data-value="00" id="industry_quarter_data">
                                                                </ul>
                                                            </div>
                                                            <div class="shareholding_right fr" id="industry_content">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="trade" id="themeTotal">
                                                        <div class="shareholding_top clearfix">
                                                            <div class="secondary_title fl">主题 </div><div class="secondary_t c333 fl"></div>
                                                            <div class="data_share c666 fr">数据截止日期：
                                                                <select id="theme_quarter_select"></select>
                                                            </div>
                                                        </div>
                                                        <div class="trade_content clearfix">
                                                            <div class="shareholding_left shareholding_h1 fl">
                                                                <ul class="sharehold_change" data-value="01" id="theme_quarter_data">

                                                                </ul>
                                                            </div>
                                                            <div class="shareholding_right fr" id="theme_content">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="trade" id="medium_smallTotal">
                                                        <div class="shareholding_top clearfix">
                                                            <div class="secondary_title fl">大中小盘 </div><div class="secondary_t c333 fl"></div>
                                                            <div class="data_share c666 fr">数据截止日期：
                                                                <select id="medium_small_quarter_select">
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="trade_content clearfix">
                                                            <div class="shareholding_left shareholding_h3 fl">
                                                                <ul class="sharehold_change" data-value="02" id="medium_small_quarter_data">
                                                                </ul>
                                                            </div>
                                                            <div class="shareholding_right fr" id="medium_small_content">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div id="nTab11_2" class="strength_main nTab11" style="display: none;">
                                                <div class="rank">
                                                    <div class="sty_top clearfix">
                                                        <div class="sty_tab fl">
                                                            <ul class="fl clearfix" id="investment_ul_select">
                                                            </ul>
                                                        </div>
                                                        <div class="sty_data fr">
                                                            <span>数据截止日期</span> <select id="investment_quarter_select">
                                                        </select>
                                                        </div>
                                                    </div>

                                                    <div class="sty_content" id="investment_ul_select_text">
                                                        <!-- 个股交易风格 begin -->
                                                        <p style="display: none;" class="sty_tips c999" id="investment_ul_select_text_4">
                                                            特点：通过顺应中短期市场偏好，在个股间频繁交易来获取收益。金牛建议：重点评估经理和公司能力后买入。<a
                                                                href="" onclick="clearInvestMentText(this)"
                                                                target="_self">不再提示 <span class="icon_close"></span></a>
                                                        </p>
                                                        <!-- 个股交易风格 end -->
                                                        <!-- 趋势跟踪风格 begin -->
                                                        <p style="display: none;" class="sty_tips c999"
                                                           id="investment_ul_select_text_1">
                                                            特点：预测中长期市场向上时加仓，向下时减仓，以此获取收益。金牛建议：市场趋势持续向上时买入。<a
                                                                href="" onclick="clearInvestMentText(this)"
                                                                target="_self">不再提示 <span class="icon_close"></span></a>
                                                        </p>
                                                        <!-- 趋势跟踪风格 end -->
                                                        <!-- 行业精选风格 begin -->
                                                        <p style="display: none;" class="sty_tips c999"
                                                           id="investment_ul_select_text_3">
                                                            特点：长期持有前景较好的行业来获取收益。金牛建议：看好基金重仓行业前景时买入。<a href=""
                                                                                                      onclick="clearInvestMentText(this)" target="_self">不再提示 <span
                                                                class="icon_close"></span></a>
                                                        </p>
                                                        <!-- 行业精选风格 end -->
                                                        <!-- 个股精选风格 begin -->
                                                        <p style="display: none;" class="sty_tips c999"
                                                           id="investment_ul_select_text_5">
                                                            特点：通过精选个股并长期持有的方式获益。金牛建议：看好基金重仓行业前景时买入。<a href=""
                                                                                                      onclick="clearInvestMentText(this)" target="_self">不再提示 <span
                                                                class="icon_close"></span></a>
                                                        </p>
                                                        <!-- 个股精选风格 end -->
                                                        <!-- 行业轮动风格 begin -->
                                                        <p style="display: none;" class="sty_tips c999"
                                                           id="investment_ul_select_text_2">
                                                            特点：轮换操作市场热捧行业来获取收益。金牛建议：重点评估经理和公司能力后买入。<a href=""
                                                                                                      onclick="clearInvestMentText(this)" target="_self">不再提示 <span
                                                                class="icon_close"></span></a>
                                                        </p>
                                                        <!-- 行业轮动风格 end -->
                                                        <table>
                                                            <tr class="t_bg" id="investment_table_header">
                                                                <td class="w1">排名</td>
                                                                <td class="w2">基金简称</td>
                                                                <td class="w3">单位净值</td>
                                                                <td class="w4">近1年收益</td>
                                                                <td class="w5">经理</td>
                                                                <td class="w6">购买费率</td>
                                                                <td class="w7">操作</td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <script type="text/javascript">
                                var jzrqStr = '2020-06-24'+"至"+'2021-06-24';
                                var min=0;
                                min = 41.27;
                                var flhb_chart={
                                    chart: {
                                        width:175,
                                        height:110,
                                        type: 'column',
                                        renderTo : 'flhb_chart_div',
                                        marginBottom : 28
                                    },
                                    title: {
                                        text: ''
                                    },
                                    xAxis: {
                                        title : {
                                            style : {
                                                fontSize : '11px',
                                                color : '#9A9A9A',
                                                fontWeight:'normal'
                                            }
                                        },
                                        tickLength:0,/*X坐标刻度向上*/
                                        labels : {
                                            enabled : false,
                                            rotation: 0,
                                            tickWidth :0,
                                            align : 'left'
                                        }
                                    },
                                    yAxis: {
                                        min : (min-1),
                                        labels : {
                                            formatter : function(){return this.value+"%";}
                                        },
                                        title:''
                                    },
                                    tooltip: {
                                        formatter : function(){
                                            var value = (this.y+"");
                                            var temp_value = "";
                                            if(value.indexOf(".")==-1){
                                                value+=".00";
                                            }else{
                                                temp_value=value.substring(value.indexOf(".")+1,value.length);
                                                if(temp_value.length==1){
                                                    value+="0";
                                                }
                                            }
                                            return this.point.name+":"+value+"%</b>";
                                        }
                                    },
                                    plotOptions: {
                                        column: {
                                            pointPadding: 0.2,
                                            borderWidth: 0
                                        }
                                    },
                                    series: [{
                                        name: '',
                                        data: []

                                    }],
                                    legend : {
                                        enabled : false
                                    },
                                    credits : { /*版权图标显示*/
                                        enabled : false
                                    }
                                };
                                createFlhbChart(41.27,42.23);// Loaded by default
                                function createFlhbChart(tlFlhb1n,companyFlhb1n){
                                    var tlHb1n = tlFlhb1n;
                                    var cmHb1n = companyFlhb1n;
                                    var data = [{"y":tlFlhb1n,"name":"同类平均","color":"#919191"},{"y":companyFlhb1n,"name":"本公司平均","color":"#4C77AA"}];
                                    flhb_chart.series[0].data = data;
                                    var culumn_chart = new Highcharts.Chart(flhb_chart);
                                    culumn_chart = null;
                                }

                                $("#PJSY_DIV .t_body").find("td").not(".tdl").each(function(){
                                    if($.trim($(this).html())=="--"){
                                        $(this).attr("class","tdc");
                                    }else{
                                        $(this).attr("class","tdr pright20");
                                    }
                                });
                            </script>
                        </div>

                        <div class="content_right fr">

                            <div class="star_fund"><!-- 本公司明星基金  bengin -->
                                <div class="right_fund_title">本公司明星基金</div>
                                <div class="starFocus">
                                    <div class="bd">
                                        <ul>
                                            <!--遍历本公司明星基金 begin-->
                                            <li>
                                                <div class="chatrs" id="chartSyl_007548">

                                                </div>
                                                <div class="star_fund_info">
                                                    <table>
                                                        <tr>
                                                            <td class="tdl"><a target="_blank" href="/fund/007548/">易方达ESG责任投资股票</a></td>
                                                            <td class="tdr c999">近1年收益</td>
                                                        </tr>
                                                        <tr>
                                                            <td class="tdl c999">本公司近1年<span class="bold_c666">股票型</span>收益冠军</td>
                                                            <td class="tdr"><span class="cRed">57.50%</span></td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="chatrs" id="chartSyl_001216">

                                                </div>
                                                <div class="star_fund_info">
                                                    <table>
                                                        <tr>
                                                            <td class="tdl"><a target="_blank" href="/fund/001216/">易方达新收益混合A</a></td>
                                                            <td class="tdr c999">近1年收益</td>
                                                        </tr>
                                                        <tr>
                                                            <td class="tdl c999">本公司近1年<span class="bold_c666">混合型</span>收益冠军</td>
                                                            <td class="tdr"><span class="cRed">77.51%</span></td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="chatrs" id="chartSyl_000189">

                                                </div>
                                                <div class="star_fund_info">
                                                    <table>
                                                        <tr>
                                                            <td class="tdl"><a target="_blank" href="/fund/000189/">易方达丰华债券A</a></td>
                                                            <td class="tdr c999">近1年收益</td>
                                                        </tr>
                                                        <tr>
                                                            <td class="tdl c999">本公司近1年<span class="bold_c666">债券型</span>收益冠军</td>
                                                            <td class="tdr"><span class="cRed">17.85%</span></td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="chatrs" id="chartSyl_000621">

                                                </div>
                                                <div class="star_fund_info">
                                                    <table>
                                                        <tr>
                                                            <td class="tdl"><a target="_blank" href="/fund/000621/">易方达现金增利货币B</a></td>
                                                            <td class="tdr c999">近1年收益</td>
                                                        </tr>
                                                        <tr>
                                                            <td class="tdl c999">本公司近1年<span class="bold_c666">货币型</span>收益冠军</td>
                                                            <td class="tdr"><span class="cRed">2.61%</span></td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="chatrs" id="chartSyl_161124">

                                                </div>
                                                <div class="star_fund_info">
                                                    <table>
                                                        <tr>
                                                            <td class="tdl"><a target="_blank" href="/fund/161124/">易方达恒生综合小型股A</a></td>
                                                            <td class="tdr c999">近1年收益</td>
                                                        </tr>
                                                        <tr>
                                                            <td class="tdl c999">本公司近1年<span class="bold_c666">QDII</span>收益冠军</td>
                                                            <td class="tdr"><span class="cRed">23.24%</span></td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </li>
                                            <!--导入本公司明星基金js-->
                                            <script type="text/javascript" src="https://static.howbuy.com/??/upload/auto/script/fund/jzzs_007548.js,/upload/auto/script/fund/jzzs_001216.js,/upload/auto/script/fund/jzzs_000189.js,/upload/auto/script/fund/jzzs_000621.js,/upload/auto/script/fund/jzzs_161124.js?v=3a7eb5f"></script>

                                        </ul>
                                    </div>
                                    <div class="hd">
                                        <ul class="clearfix">
                                            <!--遍历本公司明星基金 begin-->

                                            <li></li>

                                            <li></li>

                                            <li></li>

                                            <li></li>

                                            <li></li>

                                        </ul>
                                    </div>
                                </div>
                            </div><!-- 本公司明星基金  end -->


                            <script>

                                if(typeof(JzzsDateObj_007548)!="undefined" && JzzsDateObj_007548 !=null){
                                    <!--遍历js数据 begin-->
                                    var lineImgDate_007548 = JzzsDateObj_007548.navStrListOneYear;
                                    var JzzsDateObj_007548=  JzzsDateObj_007548.cats;
                                    var isJzzs = false;

                                    if(lineImgDate_007548.length!=0 && lineImgDate_007548 !=null) {
                                        loadJjhbChart("chartSyl_007548",'',lineImgDate_007548,JzzsDateObj_007548,isJzzs);
                                    }else{
                                        $("#chartSyl_007548").html('<div class="no_chart" style="display:block;">暂无数据</div>');
                                    }
                                }
                                <!--遍历js数据 end-->

                                if(typeof(JzzsDateObj_001216)!="undefined" && JzzsDateObj_001216 !=null){
                                    <!--遍历js数据 begin-->
                                    var lineImgDate_001216 = JzzsDateObj_001216.navStrListOneYear;
                                    var JzzsDateObj_001216=  JzzsDateObj_001216.cats;
                                    var isJzzs = false;

                                    if(lineImgDate_001216.length!=0 && lineImgDate_001216 !=null) {
                                        loadJjhbChart("chartSyl_001216",'',lineImgDate_001216,JzzsDateObj_001216,isJzzs);
                                    }else{
                                        $("#chartSyl_001216").html('<div class="no_chart" style="display:block;">暂无数据</div>');
                                    }
                                }
                                <!--遍历js数据 end-->

                                if(typeof(JzzsDateObj_000189)!="undefined" && JzzsDateObj_000189 !=null){
                                    <!--遍历js数据 begin-->
                                    var lineImgDate_000189 = JzzsDateObj_000189.navStrListOneYear;
                                    var JzzsDateObj_000189=  JzzsDateObj_000189.cats;
                                    var isJzzs = false;

                                    if(lineImgDate_000189.length!=0 && lineImgDate_000189 !=null) {
                                        loadJjhbChart("chartSyl_000189",'',lineImgDate_000189,JzzsDateObj_000189,isJzzs);
                                    }else{
                                        $("#chartSyl_000189").html('<div class="no_chart" style="display:block;">暂无数据</div>');
                                    }
                                }
                                <!--遍历js数据 end-->

                                if(typeof(JzzsDateObj_000621)!="undefined" && JzzsDateObj_000621 !=null){
                                    <!--遍历js数据 begin-->
                                    var lineImgDate_000621 = JzzsDateObj_000621.navStrListOneYear;
                                    var JzzsDateObj_000621=  JzzsDateObj_000621.cats;
                                    var isJzzs = false;

                                    if(lineImgDate_000621.length!=0 && lineImgDate_000621 !=null) {
                                        loadJjhbChart("chartSyl_000621",'',lineImgDate_000621,JzzsDateObj_000621,isJzzs);
                                    }else{
                                        $("#chartSyl_000621").html('<div class="no_chart" style="display:block;">暂无数据</div>');
                                    }
                                }
                                <!--遍历js数据 end-->

                                if(typeof(JzzsDateObj_161124)!="undefined" && JzzsDateObj_161124 !=null){
                                    <!--遍历js数据 begin-->
                                    var lineImgDate_161124 = JzzsDateObj_161124.navStrListOneYear;
                                    var JzzsDateObj_161124=  JzzsDateObj_161124.cats;
                                    var isJzzs = false;

                                    if(lineImgDate_161124.length!=0 && lineImgDate_161124 !=null) {
                                        loadJjhbChart("chartSyl_161124",'',lineImgDate_161124,JzzsDateObj_161124,isJzzs);
                                    }else{
                                        $("#chartSyl_161124").html('<div class="no_chart" style="display:block;">暂无数据</div>');
                                    }
                                }
                                <!--遍历js数据 end-->
                            </script>
                            <div id="TYPE_FUND_AJAX_REPLACE">
                                <div class="type_fund_up">
                                    <!-- 同类基金近一年涨幅榜  bengin -->
                                    <div class="right_fund_title clearfix">
                                        <span class="bold fl type_fund_rank">股票型基金近一年涨幅榜</span>
                                        <a target="_blank" href="/fund/fundranking/gupiao.htm" class="font12 noweight fr">更多</a>
                                    </div>
                                    <div class="fund_up_content">
                                        <table>
                                            <tbody>
                                            <tr class="t_bg">
                                                <td class="tdc bold_c666">排名</td>
                                                <td class="tdc bold_c666">基金简称</td>
                                                <td class="tdc bold_c666">涨跌幅</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span class="rank">1</span>
                                                </td>
                                                <td class="tdl pleft10"><a target="_blank" href="/fund/003834/">华夏能源革新股票</a></td>
                                                <td><span class="cRed"><span class="cRed">127.85%</span></span></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span class="rank">2</span>
                                                </td>
                                                <td class="tdl pleft10"><a target="_blank" href="/fund/005669/">前海开源公用事业股票</a></td>
                                                <td><span class="cRed"><span class="cRed">124.59%</span></span></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span class="rank">3</span>
                                                </td>
                                                <td class="tdl pleft10"><a target="_blank" href="/fund/005968/">创金合信工业周期股票A</a></td>
                                                <td><span class="cRed"><span class="cRed">122.97%</span></span></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    4
                                                </td>
                                                <td class="tdl pleft10"><a target="_blank" href="/fund/005969/">创金合信工业周期股票C</a></td>
                                                <td><span class="cRed"><span class="cRed">121.44%</span></span></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    5
                                                </td>
                                                <td class="tdl pleft10"><a target="_blank" href="/fund/000828/">泰达转型机遇股票</a></td>
                                                <td><span class="cRed"><span class="cRed">105.93%</span></span></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    6
                                                </td>
                                                <td class="tdl pleft10"><a target="_blank" href="/fund/009147/">建信新能源行业股票</a></td>
                                                <td><span class="cRed"><span class="cRed">105.05%</span></span></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    7
                                                </td>
                                                <td class="tdl pleft10"><a target="_blank" href="/fund/005927/">创金合信新能源汽车股票A</a></td>
                                                <td><span class="cRed"><span class="cRed">99.66%</span></span></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    8
                                                </td>
                                                <td class="tdl pleft10"><a target="_blank" href="/fund/004812/">中欧先进制造股票A</a></td>
                                                <td><span class="cRed"><span class="cRed">99.35%</span></span></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    9
                                                </td>
                                                <td class="tdl pleft10"><a target="_blank" href="/fund/004925/">长信低碳环保量化股票</a></td>
                                                <td><span class="cRed"><span class="cRed">98.52%</span></span></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    10
                                                </td>
                                                <td class="tdl pleft10"><a target="_blank" href="/fund/005928/">创金合信新能源汽车股票C</a></td>
                                                <td><span class="cRed"><span class="cRed">98.28%</span></span></td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <div class="hot_company">
                                <!-- 热门公司 bengin -->
                                <div class="right_fund_title">热门公司</div>
                                <div class="hot_company_info">
                                    <ul>
                                        <li class="com_item first">
                                            <div class="fund_con">
                                                <span class="rank">1</span> <a class="company_name" target="_blank"
                                                                               href="/fund/company/80000220/">南方基金管理股份有限公司</a>
                                            </div>
                                            <div class="hot_company_fund_info">
                                                <table>
                                                    <tbody>
                                                    <tr>
                                                        <td class="tdl rline c_fund">代表基金</td>
                                                        <td class="tdr c_lable">近1年回报</td>
                                                    </tr>
                                                    <tr>
                                                        <td class="tdl rline"><a target="_blank" href="/fund/202027/">南方高端装备混合A</a></td>
                                                        <td class="tdr"><span class="cRed">69.35%</span></td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </li>
                                        <li class="com_item">
                                            <div class="fund_con">
                                                <span class="rank">2</span> <a class="company_name" target="_blank"
                                                                               href="/fund/company/80000229/">易方达基金管理有限公司</a>
                                            </div>
                                            <div class="hot_company_fund_info">
                                                <table>
                                                    <tbody>
                                                    <tr>
                                                        <td class="tdl rline c_fund">代表基金</td>
                                                        <td class="tdr c_lable">近1年回报</td>
                                                    </tr>
                                                    <tr>
                                                        <td class="tdl rline"><a target="_blank" href="/fund/001216/">易方达新收益混合A</a></td>
                                                        <td class="tdr"><span class="cRed">77.51%</span></td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </li>
                                        <li class="com_item">
                                            <div class="fund_con">
                                                <span class="rank">3</span> <a class="company_name" target="_blank"
                                                                               href="/fund/company/80000230/">鹏华基金管理有限公司</a>
                                            </div>
                                            <div class="hot_company_fund_info">
                                                <table>
                                                    <tbody>
                                                    <tr>
                                                        <td class="tdl rline c_fund">代表基金</td>
                                                        <td class="tdr c_lable">近1年回报</td>
                                                    </tr>
                                                    <tr>
                                                        <td class="tdl rline"><a target="_blank" href="/fund/512690/">鹏华中证酒ETF</a></td>
                                                        <td class="tdr"><span class="cRed">90.89%</span></td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div><!-- box_main end-->
        </div><!-- box_wrap end-->
    </div><!-- main end-->
</div><!-- gray-wrapper end -->
<!---自选基金--->
<div class="zixuan_fund"><!-- zixuan_fund begin -->
    <div class="list">

    </div>
    <div class="title"><em></em>自选基金(<span><label id="zixuanCount">0</label></span>)</div>
</div>
<!-- zixuan_fund end -->
<script>
    $(function(){
        //自选基金模块
        $(".zixuan_fund .title").toggle(function(){
            $(this).siblings(".list").slideDown("fast");
            //zxjj_scroll();
            $(this).find("em").addClass("up")
        },function(){
            $(this).siblings(".list").slideUp("fast");
            //zxjj_scroll();
            $(this).find("em").removeClass("up")
        });
        $(".zixuan_fund .list ul").hover(function(){
            $(this).addClass("hover");
            $(this).find(".del").css({visibility:"visible"})
        },function(){
            $(this).removeClass("hover");
            $(this).find(".del").css({visibility:"hidden"})
        });
    });

    var fundDataJosn = "";
    //填充/添加自选基金
    $.ajax({
        url:"/fund/ajax/gmfund/zixuan/zixuan.htm",
        type:"POST",
        data:{},
        success:function(data){
            fundDataJosn = eval("(" + data+ ")");
            //填充自选基金
            paddingFund(fundDataJosn);
        }
    });
    //end


    //填充自选基金--start
    function paddingFund(fundDataJosn){
        var fundhtml = "<div class='scroll_bd' id='scroll_bd'><div class='scroll-con' id='scroll-con'>";
        var fundTab = "";
        var hbdr = 0;
        var qrsy= 0;

        $.each(fundDataJosn,function(i,n){
            fundTab +=	"<ul><li class='b1'><h2><a href='/fund/"+n.fundcode+"/'>"+n.jjjc+"</a></h2>";

            //货币型,理财型
            if("7"==n.wzfl||"53"==n.wzfl){
                if(null!=n.qrsy){
                    qrsy = parseFloat(n.qrsy);
                    if(qrsy>0){
                        fundTab += "<p>七日年化<span class='cRed'>"+qrsy.toFixed(2)+"%</span></p></li>";
                    }else if(qrsy<0){
                        fundTab += "<p>七日年化<span class='cGreen'>"+qrsy.toFixed(2)+"%</span></p></li>";
                    }else if(qrsy==0){
                        fundTab += "<p>七日年化<span>"+qrsy.toFixed(2)+"%</span></p></li>";
                    }else{
                        fundTab += "<p>七日年化<span>--</span></p></li>";
                    }
                } else {
                    fundTab += "<p>七日年化<span>--</span></p></li>";
                }
            } else {
                if(null!=n.hbdr){
                    hbdr = parseFloat(n.hbdr);
                    if(hbdr>0){
                        fundTab += "<p>日增长率<span class='cRed'>"+hbdr.toFixed(2)+"%</span></p></li>";
                    }else if(hbdr<0){
                        fundTab += "<p>日增长率<span class='cGreen'>"+hbdr.toFixed(2)+"%</span></p></li>";
                    }else if(hbdr==0){
                        fundTab += "<p>日增长率<span>"+hbdr.toFixed(2)+"%</span></p></li>";
                    }else{
                        fundTab += "<p>日增长率<span>--</span></p></li>";
                    }
                } else {
                    fundTab += "<p>日增长率<span>--</span></p></li>";
                }
            }

            fundTab +=	"<li class='b2'><a href='javascript:void(0)' target='_self' title='删除' class='del' onclick='delFund(\""+n.fundcode+"\","+i+")'><input type='hidden' id='jjdm' value='"+n.fundcode+"'></a>";

            if(n.allowGM == true){
                fundTab +=	"<a href='javascript:void(0);' target='_self' url='"+n.tradeUrl+"'  class='buy zixuan_buy'>购买</a>";
            }else{
                fundTab +=	"<span class='buy' style='color:#e3e3e3'>购买</span>";
            }
            fundTab += "</li></ul>";
            if(i==5){
                return false;
            }
        })
        if(fundDataJosn.length > 0){
            $(".zixuan_fund").find("div[class=list]").html(fundhtml+fundTab+"</div></div><a href='/fundtool/zixuan.htm' target='_blank' class='more'>查看全部</a>");
        }else{
            $(".zixuan_fund").find("div[class=list]").html("<div class='noFund'>暂无产品</div>");
            $(".noFund").show();
        }

        $("#zixuanCount").html(fundDataJosn.length);
    }
    //填充自选基金--end


    $(function(){
        // 自选基金模块
        $(".zixuan_fund .title").toggle(function() {
            $(this).siblings(".list").slideDown("fast");
            $(this).find("em").addClass("up")
        }, function() {
            $(this).siblings(".list").slideUp("fast");
            $(this).find("em").removeClass("up")
        })

        $(".zixuan_fund .list ul").live({
            mouseover : function() {
                $(this).addClass("hover");
                $(this).find(".del").css({
                    visibility : "visible"
                })
            },
            mouseout : function() {
                $(this).removeClass("hover");
                $(this).find(".del").css({
                    visibility : "hidden"
                })
            }
        });
    })

    //加自选
    function MoveBox(obj,fundCode) {
        var divTop = $(obj).offset().top;
        var divLeft = $(obj).offset().left + 20;
        $(obj).after("<div class='proIcon'></div>");
        $(".proIcon").css({
            "left" : divLeft,
            "top" : divTop
        });
        $(".proIcon").animate({
            "top" : divTop - 30 + "px"
        }, 300, function() {
            $(".proIcon").animate({
                "left" : $(".zixuan_fund .title").offset().left + "px",
                "top" : $(".zixuan_fund .title").offset().top + "px",
                opacity : 0.8
            }, 500, function() {
                $(".proIcon").remove();
            })
        })


        $.ajax({
            url : "/fund/fundtool/addAttentionFund.htm?fundCode="+fundCode,
            type : "POST",
            data : {},
            success : function(msg) {
                //添加/删除按钮的显示/隐藏
                $(".addzx_"+fundCode).hide();
                $(".delzx_"+fundCode).show();

                //填充/添加自选基金
                $.ajax({
                    url:"/fund/ajax/gmfund/zixuan/zixuan.htm",
                    type:"POST",
                    data:{},
                    success:function(data){
                        fundDataJosn = eval("(" + data+ ")");
                        //填充自选基金
                        paddingFund(fundDataJosn);
                    }
                });
            }
        });
        // 添加自选基金数据
        //fundDataJosn.unshift(zxData);
        // 填充自选基金
        //paddingFund(fundDataJosn);

    }

    function addSelected(fundCode){
        $.ajax({
            url : "/fund/fundtool/addAttentionFund.htm",
            type : "POST",
            data : {
                fundCode:fundCode
            },
            success : function(msg) {
                $.ajax({
                    url:"/fund/ajax/gmfund/zixuan/zixuan.htm",
                    type:"POST",
                    data:{},
                    success:function(data){
                        fundDataJosn = eval("(" + data+ ")");
                        paddingFund(fundDataJosn);
                        $(".addzx_"+fundCode).hide();
                        $(".delzx_"+fundCode).show();
                    }
                });
            }
        });
    }



    //删除自选基金start
    function delFund(fundCode, i) {
        //添加/删除按钮的显示/隐藏
        $(".addzx_"+fundCode).show();
        $(".delzx_"+fundCode).hide();
        $.ajax({
            url : "/fund/fundtool/removefund.htm?fundCode="+fundCode,
            type : "POST",
            data : {},
            success : function(msg) {

            }
        });
        // 删除自选基金
        fundDataJosn.splice(i, 1);
        // 填充自选基金
        paddingFund(fundDataJosn);
    }//删除自选基金--end
</script>
<script type="text/javascript">
    function getIncomeRankings(sjqj_type) {
        if(typeof(cache_wzfl)=="undefined"){
            return false;
        }
        $.ajax({
            url: "/fund/ajax/company/getIncomeRanking.htm",
            type: "post",
            data: {
                jgdm: "80000229",
                wzfl: cache_wzfl,
                sjqj_type: sjqj_type
            },
            success: function(data) {
                $("#AJAX_REPLACE_INCOME").html(data);
                $("#AJAX_REPLACE_INCOME").children().show();
                $(".income_rank_pmjn").parent().removeClass("on");
                $(".income_rank_" + sjqj_type).parent().addClass("on");
                formatterNTab111();
            }
        });
    }

    function fundTypeAjax(){
        $.ajax({
            url: "/fund/ajax/company/getfundtypeupinfo.htm",
            type: "post",
            data: {
                wzfl: cache_wzfl
            },
            success: function(data) {
                $("#TYPE_FUND_AJAX_REPLACE").html(data);
            }
        });
    }
</script>
<script>

    function loadBody(){
        getIncomeRankings("pmjn");
        if(typeof(cache_jgdm)!="undefined" && typeof(cache_wzfl)!="undefined"){
            //延迟加载
            $.getScript("https://static.howbuy.com/upload/auto/script/company/data_"+cache_jgdm+"_"+cache_wzfl+".js",function(){
                loadInvestmentData();
                loadShareData();
                loadTabSelect();
                loadAddZxStyle();
            });
        }
    }
    loadBody();

    function delSelected(fundCode){
        delete selectedMap[fundCode];
    }

    function addSelected(fundCode){
        $.ajax({
            url : "/fund/fundtool/addAttentionFund.htm",
            type : "POST",
            data : {
                fundCode:fundCode
            },
            success : function(msg) {
                $.ajax({
                    url:"/fund/ajax/gmfund/zixuan/zixuan.htm",
                    type:"POST",
                    data:{},
                    success:function(data){
                        fundDataJosn = eval("(" + data+ ")");
                        paddingFund(fundDataJosn);
                        $(".addzx_"+fundCode).hide();
                        $(".delzx_"+fundCode).show();
                        selectedMap[fundCode]=true;
                    }
                });
            }
        });
    }

</script>

</body>
</html>
 <script>
    var cAccount = $("#getcAccount").val();
    console.log(cAccount);
    if (cAccount == "" || cAccount == null || cAccount == undefined){
        $("#client").html("登录");
        $("#client").attr("href","/Anonymous/clientLoginWeb");
    }else {
        $("#client").html(cAccount);
        $("#client").attr("href","/Anonymous/myPurseWeb");
        $("#register").css("display","none");
    }
</script>
<script>
    <!--公募首页-基金公司-->
    $(document).ready(function(){
        selectHeaderMenu(2,5);
    });
</script>